package com.xinruke.hostels.system.manage.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author yutaipu
 */
@ApiModel("班次详情请求DTO")
@Data
public class WorkTurnDetailDTO {

    /**
     * id
     */
    @ApiModelProperty(value = "班次id", required = true)
    @NotNull(message = "班次id不能为空")
    private Integer id;
}
